package homework08;

public class CarTest {
    public static void main(String[] args) {
        Car car1=new Car();
        car1.brand="宝马";
        car1.color="金";
        car1.price=60;
        car1.start();
        car1.run();
        car1.stop();
        System.out.println();

        Car car2=new Car("奥迪","白",88);
        car2.start();
        car2.run();
        car2.stop();
        System.out.println();

        Car car3=new Car("奔驰","黑",100);
        car3.start();
        car3.run();
        car3.stop();
    }
}
